package com.hxkj.client.service.taglib.impl;

import com.hxkj.domain.po.FreeMarker;
import com.hxkj.client.service.taglib.BreadcrumbsTagService;
import com.integral.mall.file.po.SysFile;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class BreadcrumbsTagServiceImpl implements BreadcrumbsTagService {

    @Autowired
    private AnalyzeChannelServiceImpl analyzeChannelServiceImpl;

    @Override
    public SysFile getBreadcrumbsTag(FreeMarker freeMarker) throws Exception {
        freeMarker.setLabelName("breadcrumbs");
        return analyzeChannelServiceImpl.getSysFileResultDataStruct(freeMarker);
    }
}
